package com.cn.mmd.mapper;

import com.cn.mmd.model.QuestionnaireSubmit;
import com.cn.mmd.model.QuestionnaireSubmitExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface QuestionnaireSubmitMapper {
    int countByExample(QuestionnaireSubmitExample example);

    int deleteByExample(QuestionnaireSubmitExample example);

    int deleteByPrimaryKey(Integer answerid);

    int insert(QuestionnaireSubmit record);

    int insertSelective(QuestionnaireSubmit record);

    List<QuestionnaireSubmit> selectByExample(QuestionnaireSubmitExample example);

    QuestionnaireSubmit selectByPrimaryKey(Integer answerid);

    int updateByExampleSelective(@Param("record") QuestionnaireSubmit record, @Param("example") QuestionnaireSubmitExample example);

    int updateByExample(@Param("record") QuestionnaireSubmit record, @Param("example") QuestionnaireSubmitExample example);

    int updateByPrimaryKeySelective(QuestionnaireSubmit record);

    int updateByPrimaryKey(QuestionnaireSubmit record);

    List<QuestionnaireSubmit> selectMyQuestionnaireSubmit(String respondentId);

    List<QuestionnaireSubmit> selectQuestionnaireSubmitByTimeQuantum(Map map);
}